<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>
.fixed-table-body {
	min-height: 300px;
}
</style>
<body class="gray-bg">
	<input id="warnId" name="warnId" type="hidden" th:value="${warningsModelDO.warnId}"/>
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<table id="exampleTable2" class="table-content" data-mobile-responsive="true">
						<thead>
							<tr>
								<th style="" data-field="tableName" tabindex="0"><div
										class="th-inner ">表名</div>
									<div class="fht-cell"></div></th>
								<th style="" data-field="type" tabindex="0"><div
										class="th-inner ">类型</div>
									<div class="fht-cell"></div></th>
								<th style="" data-field="number" tabindex="0"><div
										class="th-inner ">数量</div>
									<div class="fht-cell"></div></th>
								<th style="text-align: center;" data-field="id" tabindex="0"><div
										class="th-inner ">操作</div>
									<div class="fht-cell"></div></th>
							</tr>
						</thead>
						<tbody>
							<tr data-index="0">
								<td style="">
									<select name="busiId" data-placeholder="选择指标"
										class="form-control chosen-select table-select-0">
										<option value="">选择指标</option>
									</select>
								</td>
								<td style="">
									<select
										data-placeholder="请选择数据类型" name="comparator" id="select-0"
										class="chosen-select form-control type-select "
										style="display: none;" >
											<option value="">--请选择--</option>
											<option data-column-length="" data-column-precision="" data-column-scale="" value="&gt;" selected="selected">大于</option>
											<option data-column-length="" data-column-precision="" data-column-scale="" value="&gt;=">大于等于</option>
											<option data-column-length="" data-column-precision="" data-column-scale="" value="=">等于</option>
											<option data-column-length="" data-column-precision="" data-column-scale="" value="&lt;">小于</option>
											<option data-column-length="" data-column-precision="" data-column-scale="" value="&lt;=">小于等于</option>
									</select>
								</td>
								<td style="">
									<input id="number" name="number" class="form-control" type="number" placeholder="数量">
								</td>
								<td style="text-align: center"><a
									class="btn btn-primary btn-sm " href="#" mce_href="#"
									title="添加"><i class="fa fa-plus"></i></a>
								</td>
							</tr>
						</tbody>
					</table>
					<div class="fixed-table-toolbar">
							<div class="columns pull-right">
								<button shiro:hasPermission="md:technical:add" type="button"
									class="btn  btn-primary" onclick="batchColumnsAdd()">
									确认提交</button>
							</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<!--shiro控制bootstraptable行内按钮看见性-->
	<div>
		<script type="text/javascript">
			var s_edit_h = 'hidden';
			var s_remove_h = 'hidden';
			var s_resetPwd_h = 'hidden';
		</script>
	</div>
	<div shiro:hasPermission="warn:warnings:edit">
		<script type="text/javascript">
			s_edit_h = '';
		</script>
	</div>
	<div shiro:hasPermission="warn:warnings:remove">
		<script type="text/javascript">
			var s_remove_h = '';
		</script>
	</div>
	<div shiro:hasPermission="warn:warnings:add">
		<script type="text/javascript">
			var s_add_h = '';
		</script>
	</div>

	<div th:include="include :: footer"></div>
	<script th:inline="javascript"> var ctx = [[@{/}]] ; </script>
		<script type="text/javascript" src="/js/app/warnings/edit.js"
		th:src="@{/js/app/warnings/edit.js}">
		
	</script>
</body>
</html>